package com.autumn.mybatis.mapper.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.autumn.mybatis.mapper.ISpecificationDefinition;
import com.autumn.mybatis.mapper.impl.StandardSpecificationDefinitionImpl;

/**
 * 规范
 * 
 * @author 老码农
 *
 *         2017-12-04 11:35:59
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface Specification {

	/**
	 * 定义类型
	 * 
	 * @return
	 * @author 杨昌国 2017-12-04 11:38:24
	 */
	Class<? extends ISpecificationDefinition> definitionType() default StandardSpecificationDefinitionImpl.class;
}
